import Layout from "@/layout/index";

export default {
  path: '/order',
  component: Layout,
  redirect: 'noRedirect',
  meta: {
    title: '订单管理',
    icon: 'dingdan',
  },
  children: [
    {
      name: 'order_list',
      path: 'list',
      component: () => import('@/views/order/orderlist/index'),
      meta: {
        title: '订单列表',
        icon: 'dingdan'
      }
    },
    {
      name: 'order_detail',
      hidden: true,
      path: 'listdetail/:id',
      component: () => import('@/views/order/orderlist/order_detail'),
      meta: {
        title: '订单详情',
        icon: 'list'
      }
    },
    {
      name: 'order_printing',
      hidden: true,
      path: 'printing/:id',
      component: () => import('@/views/order/orderlist/order_printing'),
      meta: {
        title: '订单打印',
        icon: 'list'
      }
    }
  ]
}


